load(
    "@gz//bazel/skylark:build_defs.bzl",
    "GZ_ROOT",
    "GZ_VISIBILITY",
)
load(
    "@gz//bazel/lint:lint.bzl",
    "add_lint_tests",
)

sources = glob(
    ["*.cc"],
)

[cc_binary(
    name = src.replace(".cc", ""),
    srcs = [src],
    deps = [
        GZ_ROOT + "math",
    ],
) for src in sources]

add_lint_tests()
